package org.forever.util
{
	/**
	* 栈接口
	*/
	public interface Stack
	{
		/**返回栈中元素数目*/
		public function getSize():int;
		/**判断栈是否为空*/
		public function isEmpty():Boolean;
		/**取栈顶元素（但不删除）*/
		public function top():Object;
		/**入栈*/
		public function push(e:Object):void;
		/**出栈*/
		public function pop():Object;
		
	}
}